package com.ruoyi.crm.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商机跟进记录对象 crm_order_trace
 *
 * @author yanwenliang
 * @date 2024-10-25
 */
@Data
@TableName("crm_order_trace")
public class CrmOrderTrace
{
    private static final long serialVersionUID = 1L;

    /** 跟进记录id */
    @TableId(type = IdType.ASSIGN_ID)
    private String traceOrderId;

    /** 跟进内容 */
    @Excel(name = "跟进内容")
    private String traceOrderContent;

    /** 跟进时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "跟进时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date traceOrderTime;

    /** 跟进人 */
    @Excel(name = "跟进人")
    private String traceOrderBy;

    /** 下次跟进时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次跟进时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date traceOrderNextTime;

    private String orderId;
}
